function avator_upload(){
	var msg=$("#input_file_avator").attr("value");
	if(msg==null||msg==""){
		art.dialog({
			title:'提示',
			lock:true,
			content:'請選擇要更改的圖片',
			ok:function(){}
		});
		return false;
	}else{
		return true;
	}
}

function checkform1(){
	var check=$(".check").get();
	var msg='';
	$.each(check,function(key,value){
		if(value["value"]===""){
			art.dialog({
				title:'提示',
				content:'請填寫完整',
				lock:true,
				ok:function(){}
			});
			$(this).attr("style","border:1px solid red");
			msg='error';
			return false;
		}
	});
	if(msg==='error'){
		return false;
	}else{
		return true;
	}
}